import React from 'react';
import ReactDOM from 'react-dom';
import './index.css'
import App from './App';
import * as serviceWorker from './serviceWorker';
import store from './store/index'
import {Provider} from 'react-redux'
import {add_todo}  from './store/action-type'


console.log(store.getState())
// store.dispatch(add_todo(1))
ReactDOM.render(
  <Provider store={store}>
       <App />
  </Provider>,
  document.getElementById('root')
);
serviceWorker.unregister();
